package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the SMPREGCT database table.
 * 
 */
@Entity
@Table(name="SMPREGCT")
public class Smpregct implements Serializable {
	private static final long serialVersionUID = 1L;
	private SmpregctPK id;
	private Date addedon;
	private String contact;
	private String contacttype;
	private String instructions;
	private Date updatedon;

    public Smpregct() {
    }


	@EmbeddedId
	public SmpregctPK getId() {
		return this.id;
	}

	public void setId(SmpregctPK id) {
		this.id = id;
	}
	

    @Temporal( TemporalType.DATE)
	public Date getAddedon() {
		return this.addedon;
	}

	public void setAddedon(Date addedon) {
		this.addedon = addedon;
	}


	@Column(nullable=false, length=20)
	public String getContact() {
		return this.contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}


	@Column(nullable=false, length=20)
	public String getContacttype() {
		return this.contacttype;
	}

	public void setContacttype(String contacttype) {
		this.contacttype = contacttype;
	}


	@Column(length=4000)
	public String getInstructions() {
		return this.instructions;
	}

	public void setInstructions(String instructions) {
		this.instructions = instructions;
	}


    @Temporal( TemporalType.DATE)
	public Date getUpdatedon() {
		return this.updatedon;
	}

	public void setUpdatedon(Date updatedon) {
		this.updatedon = updatedon;
	}

}